<include file="public@header"/>
</head>
<body>
    <div class="layui-fluid">
        <form action="{:url('AdminNoticeSort/editPost')}" method="post" class="layui-form js-ajax-form">
            <div class="layui-card">
                <div class="layui-card-header">编辑公告动态分类</div>
                <div class="layui-card-body">
                    <div class="layui-form-item">
                        <label class="layui-form-label">分类名称</label>
                        <div class="layui-input-block">
                            <input type="text" class="layui-input" id="input-name" name="name" value="{$result.name}">
                        </div>
                    </div>
                    

                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <input type="hidden" name="id" value="{$result.id}">
                            <button type="submit" class="layui-btn layui-btn-normal js-ajax-submit">{:lang('SAVE')}</button>
                            <a class="layui-btn layui-btn-primary" href="{:url('AdminNoticeSort/index')}">{:lang('BACK')}</a>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>

<include file="public@footer"/>
